package cn.edu.henu.team.table;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

@Entity(nameInDb = "health_p")
public class health_p {
    @Id(autoincrement = true)
    private Long id;

    @Property(nameInDb = "p1")
    private float p1;

    @Property(nameInDb = "p2")
    private float p2;

    @Property(nameInDb = "p3")
    private float p3;

    @Property(nameInDb = "year")
    private int year;

    @Property(nameInDb = "month")
    private int month;

    @Property(nameInDb = "day")
    private int day;

    @Generated(hash = 334492621)
    public health_p(Long id, float p1, float p2, float p3, int year, int month,
            int day) {
        this.id = id;
        this.p1 = p1;
        this.p2 = p2;
        this.p3 = p3;
        this.year = year;
        this.month = month;
        this.day = day;
    }

    @Generated(hash = 1119803304)
    public health_p() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public float getP1() {
        return this.p1;
    }

    public void setP1(float p1) {
        this.p1 = p1;
    }

    public float getP2() {
        return this.p2;
    }

    public void setP2(float p2) {
        this.p2 = p2;
    }

    public float getP3() {
        return this.p3;
    }

    public void setP3(float p3) {
        this.p3 = p3;
    }

    public int getYear() {
        return this.year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return this.month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getDay() {
        return this.day;
    }

    public void setDay(int day) {
        this.day = day;
    }
    
}
